export async function getmovies(name) {
  const resp = await fetch("http://localhost:4000/" + name);
  return await resp.json();
}
